﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace IT_Project_Monopoly
{
    public partial class BankLog : System.Web.UI.UserControl
    {
        public void addLog(float logAmount, string logTime)
        {
            BankLogListItem bi = (BankLogListItem)LoadControl("BankLogListItem.ascx");
            bi.LogAmount = logAmount;
            bi.LogTime = logTime;
            this.logList.Controls.Add(bi);
        }
    }
}